package com.uplift.mobile.user.dao;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.uplift.mobile.user.model.User;
import com.uplift.mobile.user.model.UserInfo;

@Repository
public interface UserMapper {
	/**
	 * 新增客户
	 * 
	 * @param customer
	 * @return int
	 */
	public int insertUser(UserInfo userInfo);

	/**
	 * 查询客户
	 * 
	 * @param user
	 * @return List<Map<String, Object>>
	 */
	public List<Map<String, Object>> selectUser(User user);

	/**
	 * 修改客户
	 * 
	 * @param user
	 * @return int
	 */
	public int updateUser(User user);

}
